package com.cksys.achievement.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @ClassName: SexEnum
 * @author: zyx
 * @E-mail: 1377631190@qq.com
 * @DATE: 2020/4/4 0:02
 */
@Getter
@AllArgsConstructor
public enum SexEnum {

    /**
     * SEX_MAN      男
     * SEX_WOMAN    女
     */
    SEX_MAN("男", false),
    SEX_WOMAN("女", true);

    @JsonValue
    private String sexJson;

    @EnumValue
    private Boolean sex;

}
